package com.meta.platform.contract.core.mapper;


import com.meta.platform.contract.intf.entity.ContractInvoiceReceiver;
import com.meta.platform.contract.intf.ro.ContractInvoiceReceiverRo;

import java.util.List;

/**
 * 发票收件人信息
 *
 * @author M.simple
 * @email 1111111111111@qq.com
 * @date 2020-12-08 15:53:38
 */
public interface ContractInvoiceReceiverMapper {

	/**
	 * insert contractInvoiceReceiver info
	 * @method insertContractInvoiceReceiver
	 * @param       contractInvoiceReceiver:
	 * @return void
	 * @author      M.simple
	 * @date        2020-12-08 15:53:38
	 */
	void insertContractInvoiceReceiver(ContractInvoiceReceiver contractInvoiceReceiver);

	/**
	 * batchInsert contractInvoiceReceiver info
	 * @method insertContractInvoiceReceiver
	 * @param       contractInvoiceReceiver:
	 * @return void
	 * @author      M.simple
	 * @date        2020-12-08 15:53:38
	 */
	void batchInsertContractInvoiceReceiver(List<ContractInvoiceReceiver> contractInvoiceReceivers);

	/**
	 * update contractInvoiceReceiver info
	 * @method updateContractInvoiceReceiver
	 * @param       contractInvoiceReceiver:
	 * @return int
	 * @author      M.simple
	 * @date        2020-12-08 15:53:38
	 */
	int updateContractInvoiceReceiver(ContractInvoiceReceiver contractInvoiceReceiver);

	/**
	 * update contractInvoiceReceiver info by Pk
	 * @method updateContractInvoiceReceiverByPk
	 * @param       contractInvoiceReceiver:
	 * @return int
	 * @author      M.simple
	 * @date        2020-12-08 15:53:38
	 */
	int updateContractInvoiceReceiverByPk(ContractInvoiceReceiver contractInvoiceReceiver);

	/**
	 * list contractInvoiceReceiver info
	 * @method listContractInvoiceReceiver
	 * @param       contractInvoiceReceiver:
	 * @return List<ContractInvoiceReceiver>
	 * @author      M.simple
	 * @date        2020-12-08 15:53:38
	 */
	List<ContractInvoiceReceiver> listContractInvoiceReceiver(ContractInvoiceReceiverRo contractInvoiceReceiverRo);

}
